<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="stylesheet" href="css/common.css" type="text/css" />
        <link href="css/adminstyle.css" rel="stylesheet" type="text/css">
        <title>
                <?$page_th = Common::_t('page_th');?>
        </title>
        <script src="js/js.js">     </script>
          <script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
    </head>
    <body>
         <?$page_th = Common::_t('page_th');?>
          <?$page_selected = Common::_t('page_select');?>
    <div id="man_zone">
      <div class="search_condition" style="padding-top:10px; padding-bottom:10px; ">
        <form method="get">
      	 &nbsp;&nbsp;<?=getStr($page_th, 'date_time')?> <input name="start_time" type="text" onClick="WdatePicker()" value="<?=getStr($extract_vars,'start_time')?>" />-
      	 	<input  name="over_time" type="text"  onClick="WdatePicker()"  value="<?=getStr($extract_vars,'over_time')?>" />
      	 	<?=getStr($page_th, 'teacher_no')?> <input  name="serial_number" type="text" id="serial_number" value="<?=getStr($extract_vars,'serial_number')?>" />
      	 	<?=getStr($page_th, 'teacher_name')?><input  name="name" type="text"  id="name" value="<?=getStr($extract_vars,'name')?>" />
      	 	      	 	<select name="real_education_experience" >
      	 	      	 	            <option value="-1">
                                   	<?=$page_selected?>
                                </option>
        	<?=$realEducationExperienceOption?>
      		</select>	
      	 	<input name="" type="submit" value="<?=getStr($page_th, 'search')?>"   class="PublicBot"/>
      	 	</form>
        </div>
        	<h3 style="margin-left: 30px;"><?=getStr($page_th, 'sum_data')?></h1>
            <table width="60%" border="0" align="left" cellpadding="3" cellspacing="1"
                class="tableborder" style="margin-left: 15px;">
                <tr class="header">
             		<td><?=getStr($page_th, 'salary_month')?></td>
                    <td><?=getStr($page_th, 'sum_amount')?></td>
                    <td><?=getStr($page_th, 'sum_integral')?></td>
                </tr>
                 <tr bgcolor="#FFFFFF">
                      <td align="center"><?=getStr($extract_vars,'start_time')?>-----<?=getStr($extract_vars,'over_time')?></td>
                      <td  align="right"><?=$sumMoney?></td>
                      <td  align="right"><?=$sumIntegral?></td>
                  </tr>
            </table>
            <br>
            <br>
            <h3 style="margin-left: 30px;"><?=getStr($page_th, 'summx_data')?></h1>
            <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1"
                class="tableborder">
                <tr class="header">
                    <td><?=getStr($page_th, 'teacher_name')?></td>
                    <td><?=getStr($page_th, 'teacher_real_education_experience')?></td>
                	<td><?=getStr($page_th, 'salary_money')?></td>
                    <td><?=getStr($page_th, 'salary_integral')?></td>
                  <td><?=getStr($page_th, 'salary_operator')?></td>
                </tr>
                <? foreach($list as $v){ ?>
                    <tr bgcolor="#FFFFFF">
                        <td align="center"><?=$v['serial_number']?>--<?=$v['name']?></td>
                        <td align="center">
						<?if(getStr($v,'real_education_experience')>=2){?>
                    	<img src="<?=SITE_URL?>user/images/xingxing<?=getStr($v,'real_education_experience')?>.png"/>
                    	<?}else{?>
	                    <img src="user/images/xingxing.png" />
                    	<?}?>
                        </td>
                        <td  align="right"><?=$v['money']?></td>
                        <td  align="right"><?=$v['integral']?></td>
                        <td align="center"><a href="TeacherLog_lists.html?teacher_id=<?=$v['teacher_id']?>&start_time=<?=getStr($extract_vars,'start_time')?>&over_time=<?=getStr($extract_vars,'over_time')?>" target="_blank"><?=getStr($page_th, 'teacher_id_detail')?></a></td>
                    </tr>
                    <? } ?>
                     <tr bgcolor="#FFFFFF">
                        <td colspan="9" align="center">
                        	<?=$page?>
                        </td>
                     </tr>
            </table>
      </div>
    </body>
</html>